package com.senlan.water.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@EqualsAndHashCode
public class BaseIdDTO implements Serializable {

    @NotNull(message = "id不能为空")
    private Long id;
}
